Correct the placement of c-cpp-delimiters when there're #s not at col 0.
authorAlan Mackenzie <acm@muc.de>
Mon, 15 Apr 2013 16:10:24 +0000 (16:10 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 15 Apr 2013 16:10:24 +0000 (16:10 +0000)
commitc567d01c87941c1ffb3eb39d924ec4ad155ae0d6
tree6a110620ce45f4ffb018040bd8907be5287df438
parent9549501e9c4a69afea9e2db42256a189c518f734
Correct the placement of c-cpp-delimiters when there're #s not at col 0.

        * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
        place a submatch around the #.
        * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP): Start
        a search at BOL.  Put the c-cpp-delimiter category text propertiy
        on the #, not BOL.
lisp/ChangeLog
lisp/progmodes/cc-langs.el
lisp/progmodes/cc-mode.el